package com.oms.domain;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * City entity. @author MyEclipse Persistence Tools
 */

public class City implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 5894058360063662671L;
	
	private Integer cityId;
	private Province province;
	private String cityCode;
	private String cityName;
	private Short economicLevel;
	private Float population;
	private Timestamp lastUpdateTime;
	private Boolean deleteTag;
	private String expandBar1;
	private String expandBar2;
	private Set users = new HashSet(0);
	private Set colleges = new HashSet(0);

	// Constructors

	/** default constructor */
	public City() {
	}

	/** minimal constructor */
	public City(Province province, String cityCode, String cityName,
			Boolean deleteTag) {
		this.province = province;
		this.cityCode = cityCode;
		this.cityName = cityName;
		this.deleteTag = deleteTag;
	}

	/** full constructor */
	public City(Province province, String cityCode, String cityName,
			Short economicLevel, Float population, Timestamp lastUpdateTime,
			Boolean deleteTag, String expandBar1, String expandBar2, Set users,
			Set colleges) {
		this.province = province;
		this.cityCode = cityCode;
		this.cityName = cityName;
		this.economicLevel = economicLevel;
		this.population = population;
		this.lastUpdateTime = lastUpdateTime;
		this.deleteTag = deleteTag;
		this.expandBar1 = expandBar1;
		this.expandBar2 = expandBar2;
		this.users = users;
		this.colleges = colleges;
	}

	// Property accessors

	public Integer getCityId() {
		return this.cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	public Province getProvince() {
		return this.province;
	}

	public void setProvince(Province province) {
		this.province = province;
	}

	public String getCityCode() {
		return this.cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

	public String getCityName() {
		return this.cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public Short getEconomicLevel() {
		return this.economicLevel;
	}

	public void setEconomicLevel(Short economicLevel) {
		this.economicLevel = economicLevel;
	}

	public Float getPopulation() {
		return this.population;
	}

	public void setPopulation(Float population) {
		this.population = population;
	}

	public Timestamp getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Boolean getDeleteTag() {
		return this.deleteTag;
	}

	public void setDeleteTag(Boolean deleteTag) {
		this.deleteTag = deleteTag;
	}

	public String getExpandBar1() {
		return this.expandBar1;
	}

	public void setExpandBar1(String expandBar1) {
		this.expandBar1 = expandBar1;
	}

	public String getExpandBar2() {
		return this.expandBar2;
	}

	public void setExpandBar2(String expandBar2) {
		this.expandBar2 = expandBar2;
	}

	public Set getUsers() {
		return this.users;
	}

	public void setUsers(Set users) {
		this.users = users;
	}

	public Set getColleges() {
		return this.colleges;
	}

	public void setColleges(Set colleges) {
		this.colleges = colleges;
	}

}